/**
 * Created by IntelliJ IDEA
 *
 * @author zhengjie
 * @Date:2022/1/8 11:47
 * @Version 1.0
 */
package com.zj.ssm.mapper;

import com.zj.ssm.pojo.domain.Department;
import com.zj.ssm.pojo.domain.DepartmentDetails;
import com.zj.ssm.pojo.domain.vo.DepartmentVO;

import java.util.List;

public interface DepartmentMapper {

    List<Department> listAll();

    DepartmentVO getdep(Integer id);

    int updatedep(DepartmentVO departmentVO);

    int adddep(DepartmentVO departmentVO);

    List<Department> querydep();

    int updateDepart(Integer id);

    int departUpdate(Integer id);

    DepartmentVO getDepName(DepartmentVO departmentVO);

    DepartmentDetails listDetails(Integer id);

    int updateDetails(DepartmentDetails departmentDetails);

    List<Department> liststate();
}

